package com.autotest.nore.mapper;

import com.autotest.nore.dto.EnvironmentParamDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EnvironmentParamMapper {

    void add(EnvironmentParamDTO environmentParamDTO);

    void update(EnvironmentParamDTO environmentParamDTO);

    void delete(String id);

    List<EnvironmentParamDTO> getList(String projectId);

    List<EnvironmentParamDTO> getListEnv(Map<String,String> proEnv);

    List<EnvironmentParamDTO> getParamByEnv(Map<String,String> proEnv);

    List<EnvironmentParamDTO> getParamByCom();

    List<EnvironmentParamDTO> getListCommon();

}